package com.aigou.admin.dao;

import com.aigou.admin.entity.Product;
import com.aigou.admin.entity.Receiving_address;
import com.aigou.admin.entity.ShopCart;

import java.util.List;

/**
 * @Author: xsc_hunter
 * @Date: 2024/12/3) 下午5:08
 * @Version: 1.0
 */
public interface Receiving_addressDao {
    // 查询数据的总条数
    Integer selectCount();

    /**
     * 按照指定行数查询收货地址信息
     * @param start 起始位置
     * @param rows 查询行数
     * @return
     */
    List<Receiving_address> selectReceivingAddressByLimit(int start, int rows);
    List<Receiving_address> selectAll();
    Receiving_address selectById(String id);
    Boolean insert(Receiving_address receiving_address);
    Boolean update(Receiving_address receiving_address);
    Boolean delete(String id);
}
